package com.xd.core.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 保单表
 * </p>
 *
 * @author ZX
 * @since 2025-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="GuaranteeSlip对象", description="保单表")
public class GuaranteeSlip implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "保单号")
    private String policyNo;

    @ApiModelProperty(value = "复核状态 0：未复核 1：已复核")
    private Integer reviewStatus;

    @ApiModelProperty(value = "复核意见")
    private String reviewOpinion;

    @ApiModelProperty(value = "复核时间")
    private Date reviewDate;

    @ApiModelProperty(value = "上传时间")
    private Date uploadDate;

    @ApiModelProperty(value = "保单url")
    private String guaranteeSlipUrl;

    @ApiModelProperty(value = "批单url")
    private String endorsementUrl;

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "车牌号")
    private String carNo;

    @ApiModelProperty(value = "保单状态 0：已生效 1：已失效 2：已退保 3：退保中")
    private String status;

    @ApiModelProperty(value = "上传人")
    private String uploadUser;

    @ApiModelProperty(value = "车辆信息id")
    private Integer carId;
}
